#include "opencv2/opencv.hpp"
#include <thread>
#include "thread_task.h"
using namespace cv;
using namespace std;
int main(int argc, char *argv[])
{
    thread_task ImageControl;
    std::thread produce_task(&thread_task::image_product, ImageControl);
    std::thread process_task(&thread_task::image_process, ImageControl);
    produce_task.join();
    process_task.join();
    return 0;
}
